{include file="public:header"}
<!--aside nav-->
{include file="public:left"}
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<style>
  .flexigrid .hDiv th div, .flexigrid .bDiv td div, .colCopy div{height: auto}
</style>
<div class="page">
  <div class="flexigrid">

    <div class="mDiv">
      <div class="ftitle">
        <h3>循环列表</h3>
        <h5>(共{$list_count}条记录)</h5>
      </div>
      <div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div>
      <!-- <form class="navbar-form form-inline" action="" method="get">
        <div class="sDiv">
          <div class="sDiv2">
            <input type="text" class="qsbox" name="keyword" placeholder="可搜索昵称或手机号码" value="">
            <input  class="btn" type="submit" value="搜索">
          </div>
        </div>
      </form> -->
    </div>
    <div class="hDiv">
      <div class="hDivBox">
        <table cellspacing="0" cellpadding="0">
          <thead>
          <tr>
            <th class="sign" axis="col0">
              <div style="width: 50px;"><i class="ico-check"></i></div>
            </th>
            <th align="left" class="">
              <div style="text-align: left; width: 24px;">ID</div>
            </th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 100px;" class="">号码数</div></th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 100px;" class="">计费数</div></th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 120px;" class="">提交时间</div></th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 120px;" class="">短信发送时间</div></th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 120px;" class="">循环短信发送时间</div></th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 200px;" class="">时间计划</div>
            </th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 120px;" class="">发送内容</div>
            </th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 80px;" class="">操作</div>
            </th>
            <th style="width:100%" axis="col7">
              <div></div>
            </th>
          </tr>
          </thead>
        </table>
      </div>
    </div>
    <div class="bDiv" style="height: auto;">
      <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
        <table>
          <tbody>
            {volist name="list" id="vo"}
            <tr>
              <td class="sign">
                <div style="width: 50px;"><i class="ico-check"></i></div>
              </td>
              <td class="sign">
                <div style="text-align: left;width: 50px;">{$vo.id}</div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 100px;">{$vo.sms_count}</div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 100px;">
                    {$vo.sms_cost}
                </div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 120px;">{$vo.creatime}</div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width:120px;">{$vo.send_time}</div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width:120px;">{volist name="$vo.cycle_send_txt" id="voo"}
                  {$voo}</br>
                {/volist}
                </div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width:200px;">
                    循环周期：每{$vo['cycle_text']['cyctype']}</br>
                    循环时间：{$vo['cycle_text']['plan']['month']}月{$vo['cycle_text']['plan']['day']}日{$vo['cycle_text']['plan']['hour']}时{$vo['cycle_text']['plan']['minute']}分
                </div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 120px;">{$vo.content}</div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 80px;">
                   <a href="javascript:void(0)" data-url="{:url('Sms/sms_list_del',array('id'=>$vo['id']))}" onclick="del(this)" class="btn blue">删除</a>
                </div>
                  
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 120px;"></div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 120px;"><gt name="vo.check_time" value="0"></gt></div>
              </td>
              <td align="" class="" style="width: 100%;">
                <div>&nbsp;</div>
              </td>
            </tr>
           {/volist}
          </tbody>
        </table>
      </div>
      <div class="iDiv" style="display: none;"></div>
    </div>
    <!--分页位置-->
    {$list->render()} 
  </div>
</div>
<script type="text/javascript">
  function del(obj){
    layer.confirm('是否确认删除？', {
      btn: ['是'] //按钮
    }, function(){
      var data_url = $(obj).attr("data-url");
      $.post(data_url,{},function(result){
        window.location.reload();
      });
    });
  }
</script>
</body>
</html>
</html>
